package com.artifact.mit.mypoint.service.model.api;

import java.io.Serializable;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Point implements Serializable {

	private static final long serialVersionUID = -515257313558166482L;
	
	@JsonProperty(value = "Token")
	private String token;
	
	@JsonProperty(value = "userPointBook")
	private UserPointBook userPointBook;
	
	@JsonIgnoreProperties(ignoreUnknown = true)
	public static class UserPointBook {
		
		public UserPointBook() {
			
		}
		
		@JsonProperty(value = "Saldo")
		private String saldo;

		public String getSaldo() {
			return saldo;
		}

		public void setSaldo(String saldo) {
			this.saldo = saldo;
		}	
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public UserPointBook getUserPointBook() {
		return userPointBook;
	}

	public void setUserPointBook(UserPointBook userPointBook) {
		this.userPointBook = userPointBook;
	}
}
